package top.chmin.project.cloud.sys.sequence.config.info;

import java.util.List;

import top.chmin.project.cloud.common.Page;
import org.springframework.web.bind.annotation.RestController;
import jakarta.annotation.Resource;


/**
 * chmin
 * 2024-01-29 16:24:04
 * cloud-code
 */
@RestController
public class SequenceConfigInfoController implements
/* append $controllerSelectOptionRestAppender$ */
        SequenceConfigInfoSaveRest,
        SequenceConfigInfoSelectRest,
        SequenceConfigInfoUpdateRest,
        SequenceConfigInfoDeleteRest,
        SequenceConfigInfoPageRest {

    @Resource
    private SequenceConfigInfoService sequenceConfigInfoService;

    @Override
    public int save(SequenceConfigInfoSaveRest.P p) {
        return sequenceConfigInfoService.save(p);
    }

    @Override
    public SequenceConfigInfoSelectRest.R select(SequenceConfigInfoSelectRest.P p) {
        return sequenceConfigInfoService.select(p);
    }

    @Override
    public int update(SequenceConfigInfoUpdateRest.P p) {
        return sequenceConfigInfoService.update(p);
    }

    @Override
    public int delete(SequenceConfigInfoDeleteRest.P p) {
        return sequenceConfigInfoService.delete(p);
    }

    @Override
    public Page<SequenceConfigInfoPageRest.R> page(SequenceConfigInfoPageRest.P p) {
        return sequenceConfigInfoService.page(p);
    }
    /* append $controllerSelectOptionMethodAppender$ */
}
